public class Main {
    public static  void main(String[] args) {
        AbstractProductChineseDumpling breakfastChineseDumpling;
        AbstractProductSoybeanMilk breakfastSoybeanMilk;
        AbstractProductSteamedStuffedBun breakfastSteamedStuffedBun;
        AbstractProductFriedBreadStick breakfastFriedBreadStick;

        IAbstractFactoryBreakfast factory = new FactoryQitian();
        breakfastChineseDumpling = factory.createProductChineseDumpling();
        breakfastFriedBreadStick = factory.createProductFriedBreadStick();
        breakfastSoybeanMilk = factory.createProductSoybeanMilk();
        breakfastSteamedStuffedBun = factory.createProductSteamedStuffedBun();

        System.out.println(breakfastChineseDumpling.ShowInfo());
        System.out.println(breakfastFriedBreadStick.ShowInfo());
        System.out.println(breakfastSoybeanMilk.ShowInfo());
        System.out.println(breakfastSteamedStuffedBun.ShowInfo());
    }
}
